<div class='menu-header'>{php echo $this->plugintitle}</div>
<ul>
    {ifp 'creditshop.goods'}
        <li {if $_W['action']=='goods'}class="active"{/if}><a href="{php echo webUrl('creditshop/goods')}">商品管理</a></li>
    {/if}
    {ifp 'creditshop.category'}
        <li {if $_W['action']=='category'}class="active"{/if}><a href="{php echo webUrl('creditshop/category')}">分类管理</a></li>
    {/if}
    {ifp 'creditshop.adv'}
        <li {if $_W['action']=='adv'}class="active"{/if}><a href="{php echo webUrl('creditshop/adv')}">幻灯片管理</a></li>
	  {/if}
	  
	  <!-- 新增积分签到 -->
		{ifp 'sign'}
        <li {if $_W['action']=='sign'}class="active"{/if}><a href="{php echo webUrl('sign')}">积分签到管理</a></li>
	  {/if}
	  
		
  
</ul>
<div class='menu-header'>参与记录</div>
<ul>
    {ifp 'creditshop.log.exchange'}
        <li {if $_GPC['r']=='creditshop.log.exchange'}class="active"{/if}><a href="{php echo webUrl('creditshop/log/exchange')}">兑换记录</a></li>
    {/if}
    {ifp 'creditshop.log.draw'}
        <li {if $_GPC['r']=='creditshop.log.draw'}class="active"{/if}><a href="{php echo webUrl('creditshop/log/draw')}">抽奖记录</a></li>
    {/if}
</ul>

{ifp 'creditshop.comment|creditshop.comment.add|creditshop.comment.edit|creditshop.comment.check'}
<div class='menu-header'>评价管理</div>
<ul>
    {ifp 'creditshop.comment|creditshop.comment.add|creditshop.comment.edit'}
        <li {if $_GPC['r']=='creditshop.comment'||$_GPC['r']=='creditshop.comment.add'||$_GPC['r']=='creditshop.comment.edit'} class="active"{/if}><a href="{php echo webUrl('creditshop/comment')}">全部评价</a></li>
    {/if}
    {ifp 'creditshop.comment.check'}
        <li {if $_GPC['r']=='creditshop.comment.check'} class="active"{/if}><a href="{php echo webUrl('creditshop/comment/check')}">待审核</a></li>
    {/if}
</ul>
{/if}

{ifp 'creditshop.log.order|creditshop.log.convey|creditshop.log.finish'}
    <div class='menu-header'>发货管理</div>
    <ul>
        {ifp 'creditshop.log.order'}
            <li {if $_GPC['r']=='creditshop.log.order'}class="active"{/if}><a href="{php echo webUrl('creditshop/log/order')}">待发货</a></li>
        {/if}
    </ul>
    <ul>
        {ifp 'creditshop.log.convey'}
            <li {if $_GPC['r']=='creditshop.log.convey'}class="active"{/if}><a href="{php echo webUrl('creditshop/log/convey')}">待收货</a></li>
        {/if}
    </ul>
    <ul>
        {ifp 'creditshop.log.finish'}
            <li {if $_GPC['r']=='creditshop.log.finish'}class="active"{/if}><a href="{php echo webUrl('creditshop/log/finish')}">已完成</a></li>
        {/if}
    </ul>
{/if}
{ifp 'creditshop.log.verifying|creditshop.log.verifyover|creditshop.log.verify'}
    <div class='menu-header'>核销管理</div>
    <ul>
        {ifp 'creditshop.log.verify'}
        <li {if $_GPC['r']=='creditshop.log.verify'}class="active"{/if}><a href="{php echo webUrl('creditshop/log/verify')}">全部核销</a></li>
        {/if}
    </ul>
    <ul>
        {ifp 'creditshop.log.verifying'}
        <li {if $_GPC['r']=='creditshop.log.verifying'}class="active"{/if}><a href="{php echo webUrl('creditshop/log/verifying')}">待核销</a></li>
        {/if}
    </ul>
    <ul>
        {ifp 'creditshop.log.verifyover'}
        <li {if $_GPC['r']=='creditshop.log.verifyover'}class="active"{/if}><a href="{php echo webUrl('creditshop/log/verifyover')}">已核销</a></li>
        {/if}
    </ul>
{/if}

{ifp 'creditshop.cover|creditshop.notice|creditshop.set'}
    <div class='menu-header'>设置</div>
    <ul>
        {ifp 'creditshop.cover'}
            <li {if $_W['action']=='cover'}class="active"{/if}><a href="{php echo webUrl('creditshop/cover')}">入口设置</a></li>
        {/if}
        {ifp 'creditshop.notice'}
            <li  {if $_W['action']=='notice'}class="active"{/if}><a href="{php echo webUrl('creditshop/notice')}">通知设置</a></li>
        {/if}
        {ifp 'creditshop.set'}
            <li {if $_W['action']=='set'}class="active"{/if}><a href="{php echo webUrl('creditshop/set')}">基础设置</a></li>
        {/if}
    </ul>
{/if}